package Inji;

	import java.util.Date;

	public class Data6 {
		String name, address, phone, email;
		int age;
		Date nal; // 입사 날짜
		
		// 생성자를 통해서 데이터를 전달받아 필드에 저장 
		public Data6(String username, String address, String phone, 
				String email, int age, Date d){
			this.name = username;
			this.address = address;
			this.phone = phone;
			this.email = email; 
			this.age = age;
			this.nal = d;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getAddress() {
			return address;
		}

		public void setAddress(String address) {
			this.address = address;
		}

		public String getPhone() {
			return phone;
		}

		public void setPhone(String phone) {
			this.phone = phone;
		}

		public String getEmail() {
			return email;
		}

		public void setEmail(String email) {
			this.email = email;
		}

		public int getAge() {
			return age;
		}

		public void setAge(int age) {
			this.age = age;
		}

		public Date getNal() {
			return nal;
		}

		public void setNal(Date nal) {
			this.nal = nal;
		}
	}


